*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    background: url("../images/bg.jpg") no-repeat top center;
    line-height: 1.15;

}
li {
    list-style: none;
}
/* 声明字体*/
@font-face {
    font-family: electronicFont;
    src: url(../font/DS-DIGIT.TTF);
}

header {
    position: relative; //子绝父相
    height: 1.25rem; //按快捷键alt+D 转换  从px 到rem
    background:url("../images/head_bg.png") no-repeat;
    background-size: 100% 100%;
    h1{
        color: #fff;
        text-align: center;
        font-size: 0.475rem;
        line-height: 1rem;
    }
    .showTime{
        position: absolute; //子绝父相
        right: 0.375rem;
        line-height: 0.9375rem;
        font-size: 0.25rem;
        color: rgba(255, 255, 255, 0.7);
        top: 0;

    }
}

//页面主体盒子
.mainbox{
    min-width: 1024px; //最小宽度，当缩小到1023宽度时就不在进行缩放
    max-width: 1920px;
    margin: 0 auto;
    padding: 0.125rem 0.125rem  0;
    display: flex;
    .column {
        flex: 3
    }
    .column:nth-child(2){
        flex: 5;  //第二个盒子占5分，  按3 5 3
        margin: 0 0.125rem 0.1875rem;
        overflow: hidden;
    }

    .panel{
        position: relative;
        height: 3.875rem;
        border: 1px solid rgba(25, 186, 139, 0.17);
        background: url("../images/line\(1\).png");
        padding: 0 0.1875rem 0.5rem;
        margin-bottom: 0.1875rem;
        //左上角
        &::before {
            position: absolute;
            top: 0;
            left: 0;
            content: "";
            width: 10px;
            height: 10px;
            border-top:  2px solid #02a6b5;
            border-left: 2px solid #02a6b5;
        }
        //右上角
        &::after {
            position: absolute;
            top: 0;
            right: 0;
            content: "";
            width: 10px;
            height: 10px;
            border-top:  2px solid #02a6b5;
            border-right: 2px solid #02a6b5;
        }

        .panel-footer{
            position: absolute;
            bottom: 0;
            left:0;
            width: 100%;  //跟父元素一样宽
            //左下角
            &::before {
                position: absolute;
                bottom: 0;
                left: 0;
                content: "";
                width: 10px;
                height: 10px;
                border-bottom:  2px solid #02a6b5;
                border-left: 2px solid #02a6b5;
            }
            //右下角
            &::after {
                position: absolute;
                bottom: 0;
                right: 0;
                content: "";
                width: 10px;
                height: 10px;
                border-bottom:  2px solid #02a6b5;
                border-right: 2px solid #02a6b5;
            }
        }

        h2 {
            height: 0.6rem;
            color: #fff;
            line-height: 0.6rem;
            font-size: 0.25rem;
            text-align: center;
            font-weight: 400;
            a {
                color: #fff;
                text-decoration: none;
                margin: 0 0.125rem;
            }
        }

        .chart{
            height: 3rem;
        }


    }

    .no {
        background: rgba(101, 132, 226, 0.1);
        padding: 0.1875rem;
        .no-hd {
            position: relative;
            border:  1px solid rgba(25, 186, 139, 0.17);
            //左上角
            &::before {
                position: absolute;
                content: "";
                top:0;
                left:0;
                width: 30px;
                height: 10px;
                border-top:  2px solid #02a6b5;
                border-left: 2px solid #02a6b5;
            }
            //右下角
            &::after {
                position: absolute;
                content: "";
                bottom:0;
                right:0;
                width: 30px;
                height: 10px;
                border-bottom:  2px solid #02a6b5;
                border-right: 2px solid #02a6b5;
            }
            ul {
                display: flex;
                li  {
                    flex: 1;
                    font-size: 0.875rem;
                    line-height: 1rem;
                    color: #ffeb7b;
                    text-align: center;
                    font-family: 'electronicFont';
                }

                li:nth-child(1){
                    position: relative;
                    &::after{
                        position: absolute;
                        content: "";
                        height: 50%;
                        width: 1px;
                        top:25%;
                        right: 0;
                        background: rgba(255,255,255,.2);
                    }
                }

            }
        }
        .no-bd {
            ul {
                display: flex;
                li {
                    flex: 1;
                    color:  rgba(255, 255, 255, 0.7);
                    font-size: 0.225rem;
                    height: 0.5rem;
                    line-height: 0.5rem;
                    text-align: center;
                    padding-top: 0.125rem;
                }
            }
        }
    }

    .map {
        position: relative;
        height: 10.125rem;

        .map1 {
            height: 6.475rem;
            width: 6.475rem;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%); //垂直、水平居中
            background: url('../images/map.png') no-repeat;
            background-size: 100% 100%; //保证小球可以一起缩放
            opacity: 0.3;
        }

        //旋转1  map 2    大小为 643px 要加背景图片 因为要缩放100%    定位到中央  透明度  .6   做旋转动画   利用z-index压住球体
        .map2 {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 8.0375rem;
            height: 8.0375rem;
            transform: translate(-50%, -50%); //垂直、水平居中
            background: url('../images/lbx.png') no-repeat;
            background-size: 100% 100%; //保证小球可以一起缩放
            //调用动画 linear 匀速运行  infinite无限循环
            animation: rotate1 15s linear infinite;
            opacity: .6;
        }

        //增加动画，让lbx图片不停旋转
        @keyframes rotate1 {
            from {
                transform: translate(-50%, -50%) rotate(0deg);
            }
            to {
                transform: translate(-50%, -50%) rotate(360deg);
            }
        }

        .map3 {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 7.075rem;
            height: 7.075rem;
            transform: translate(-50%, -50%); //垂直、水平居中
            background: url('../images/jt.png') no-repeat;
            background-size: 100% 100%; //保证小球可以一起缩放
            //调用动画 linear 匀速运行  infinite无限循环
            animation: rotate2 15s linear infinite;
            opacity: .6;
        }

        //增加动画，让jt图片逆时针选址
        @keyframes rotate2 {
            from {
                transform: translate(-50%, -50%) rotate(0deg);
            }
            to {
                transform: translate(-50%, -50%) rotate(-360deg);
            }
        }

        .mapChart {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 10.125rem;
            //调用动画 linear 匀速运行  infinite无限循环
        }
    }

    /* 约束屏幕尺寸 */
    @media screen and (max-width: 1024px) {
        html {
            font-size: 42px !important;
            // 42 = 1024/24等分
        }
    }
    @media screen and (min-width: 1920px) {
        html {
            font-size: 80px !important;
            //80 = 1920/24等分
        }
    }


}
